<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>客户管理-签到系统</title>
<link rel="stylesheet" type="text/css" href="../static/fineuploader/fineuploader-3.6.3.css" />
<link rel="stylesheet" type="text/css"
	href="../static/myMessager/myTable.css" />
<link rel="stylesheet" type="text/css"
	href="../static/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css"
	href="../static/MyPagination/myPagination.css" />
<link rel="stylesheet" type="text/css"
	href="../static/myMessager/myMessager.css" />
<link rel="stylesheet" type="text/css"
	href="../static/My97DatePicker/skin/WdatePicker.css" />
<script type="text/javascript"
	src="../static/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="../static/common/common.util.js"></script>
<script type="text/javascript"
	src="../static/jquery/jquery-1.10.2.min.js"></script>
<script type="text/javascript"
	src="../static/jquery/jquery.form2json.js"></script>
<script type="text/javascript"
	src="../static/MyPagination/jquery.myPagination.js"></script>
<script type="text/javascript"
	src="../static/myMessager/jquery.myMessager.js"></script>
<script src="../static/fineuploader/jquery.fineuploader-3.6.3.js"></script>
<script type="text/javascript" src="../static/js/question/questionListNew.js"></script>
<style type="text/css">
a:link {
	text-decoration: none;
}

.domShow {
	display: block;
}

.domHide {
	display: none;
}

.labelSpan {
	display: inline-block;
	width: 100px;
	height: 40px;
	text-align:right;
	font-size:14px;
}
.qq-uploader {
    position: relative;
    width: 100px;
}
</style>
</head>
<body>
	<div class="categoryBox">
		<ol class="breadcrumb">
			<li>您的位置：</li>
			<li><a href="#">问题管理</a></li>
			<li class="active">问题列表</li>
		</ol>
	</div>
	<div id="detailSearch" style="text-align: center;">
		<form id="searchForm" method="post" target="_blank">
			<p>
				<span class="tit" style="margin-left: 4px;">时间：</span>
				<span><input type="text" value="${obj.startTimeStr}"
					id="startTime" name="startTimeStr" class="Wdate"
					onClick="datePicker(1);" />
				</span>
				<span class="tit"
					style="margin-left: 25px;">至
				</span>
				<span
					style="margin-left: 25px;"><input type="text"
					value="${obj.endTimeStr}" id="endTime" name="endTimeStr"
					class="Wdate" onClick="WdatePicker({skin:'whyGreen'})" />
				</span>
				<span
					class="tit" style="margin-left: 18px;">活动名称：
					<select class="bigIpt" id="activityId" name="activityId" >
						<c:forEach items="${acs}" var="item">
							<option value="${item.id}">${item.topic}</option>
						</c:forEach>
					</select>
				</span>
				
			</p>
		</form>
	</div>

	<div id="UserBtn" style="text-align: center;margin-top: 5px;">
		<a href="javascript:void(0);" id="searchBtn" class="btn btn-primary"
			onclick="doSearch(1);"><s></s>查询</a> 
		<a id="searchBtn"
			class="btn btn-warning" href="javascript:void(0);"
			style="margin-left: 20px;" onClick="doReset();"><s></s>重置</a> 
	</div>
	<!--查询结果-->
	<div id="acList" style="margin-left: 3px;">
		<table id="dataGrig"></table>
	</div>
	<!--查询结果结束-->

	<!--修改答案-->
	<div id="addWin" style="display: none;">
		<div style="margin-left: 10px;">
			<div>
				<span class="labelSpan">提问客户姓名：</span> <span class="inputSpan"><input
					id="userName2" style="width: 300px" maxlength="300"></input></span>
			</div>
			<div>
				<span class="labelSpan">问题：</span> <span class="inputSpan"><input
					id="companyName2" style="width: 300px" maxlength="300"></input></span>
			</div>
			<div>
				<!-- <span class="labelSpan">答案：</span> <span class="inputSpan"><input 
				class="easyui-textbox" data-options="multiline:true" 
				id="userLevel2"
				style="width:300px;height:100px"></input></span> -->
				
				<span class="labelSpan" style="float:left;">答案：</span>
                <textarea id="userLevel2" style="height:100px;width:300px;resize:none" ></textarea>
			</div>
			<p>
				<span id=editAnswerSpan style="margin-left: 110px;"><a
					id="addUserBtn" class="btn btn-primary" href="javascript:void(0);"><s></s>更新</a></span>
				<span style="margin-left: 40px;"><a id="cancleAddUserBtn"
					class="btn btn-primary" href="javascript:void(0);"><s></s>取消</a></span>
			</p>
		</div>
	</div>
	
	<!--查看答案-->
	<div id="showAnswerWin" style="display: none;">
		<div style="margin-left: 10px;">
			<div>
				<span class="labelSpan">提问客户姓名：</span> <span class="inputSpan"><input
					id="userName" style="width: 300px" maxlength="300" /></span>
			</div>
			<div>
				<span class="labelSpan">问题：</span> <span class="inputSpan"><input
					id="content" style="width: 300px" maxlength="300"></input></span>
			</div>
			<div>
				<span class="labelSpan" style="float:left;">答案：</span>
                <textarea id="answer" style="height:100px;width:300px;resize:none" ></textarea>
			</div>
			<p>
				<span style="margin-left: 190px;"><a id="cancleshowAnswerBtn"
					class="btn btn-primary" href="javascript:void(0);"><s></s>取消</a></span>
			</p>
		</div>
	</div>
	
	<!--回答问题-->
	<div id="answerQuestionWin" style="display: none;">
		<div style="margin-left: 10px;">
			<div>
				<span class="labelSpan">提问客户姓名：</span> <span class="inputSpan"><input
					id="userNameA" style="width: 300px" maxlength="300"></input></span>
			</div>
			<div>
				<span class="labelSpan">问题：</span> <span class="inputSpan"><input
					id="contentA" style="width: 300px" maxlength="300"></input></span>
			</div>
			<div>
				<span class="labelSpan" style="float:left;">答案：</span>
                <textarea id="answerA" style="height:100px;width:300px;resize:none" ></textarea>
			</div>
			<p>
				<span id="answerQuestionSpan" style="margin-left: 110px;"><a
					id="answerQuestionBtn" class="btn btn-primary" href="javascript:void(0);"><s></s>回答</a></span>
				<span style="margin-left: 40px;"><a id="cancleanswerQuestionBtn"
					class="btn btn-primary" href="javascript:void(0);"><s></s>取消</a></span>
			</p>
		</div>
	</div>
</body>
</html>